if the optionKey is down and the ShiftKey is down then
global theButton
put the short name of me into theButton
StartEditing
end if
end mouseUp
on mouseWithin
put the script of me into temp
get the number of lines in temp
put line 16 to it of temp into bg fld 1
end mouseWithin
on mouseLeave
put empty into bg fld 1
end mouseLeave
The XStack Button will display a eXternal Stack when clicked on.
An XStack is a stack that has a general script in it that will redisplay the page in Waldo where you clicked the XStack Button.
An XStack may be a single card or a series of cards. The primary purpose is to display graphics, play sound, animation, text and music. The stack must contain a script for returning to the page from which you left Waldo.
-- part 4 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=58 top=230 right=263 bottom=98
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Picture List
----- HyperTalk script -----
on mouseUp
if the optionKey is down and the ShiftKey is down then
global theButton
put the short name of me into theButton
StartEditing
end if
end mouseUp
on mouseWithin
put the script of me into temp
get the number of lines in temp
put line 16 to it of temp into bg fld 1
end mouseWithin
on mouseLeave
put empty into bg fld 1
end mouseLeave
The XStack List Button will display a list of all pages that have XStack Buttons and the particular XStack Button on that Page. You may go to the selected Page by holding down the Option key. The XStack Button List may be displayed on a Page with a XStack Button.
The XStack Button will appear "Grayed" if there are no XStacks for the currently loaded document.
-- part 5 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=6 top=230 right=263 bottom=46
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: None
----- HyperTalk script -----
on mouseUp
if the optionKey is down and the ShiftKey is down then
global theButton
put the short name of me into theButton
StartEditing
end if
end mouseUp
on mouseWithin
put the script of me into temp
get the number of lines in temp
put line 16 to it of temp into bg fld 1
end mouseWithin
on mouseLeave
put empty into bg fld 1
end mouseLeave
The XStack Button List Button is "Grayed" out if there are no XStack Buttons for the currently loaded document.
-- part 6 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=394 top=225 right=263 bottom=434
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: LSEN
----- HyperTalk script -----
on mouseUp
if the optionKey is down and the ShiftKey is down then
global theButton
put the short name of me into theButton
StartEditing
end if
end mouseUp
on mouseWithin
put the script of me into temp
get the number of lines in temp
put line 16 to it of temp into bg fld 1
end mouseWithin
on mouseLeave
put empty into bg fld 1
end mouseLeave
The Utilities Buttons
(File List, Title List, Button List and HyperButton List) provide the means of maintaining and saving Lists and Queues to disk. You must hold down the mouse button and wait for a List to pop up to make a selection. Lists and Queues may be erased, renamed, saved to disk and loaded from disk.
-- part 7 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=434 top=225 right=263 bottom=511
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Down Mouse
----- HyperTalk script -----
on mouseUp
if the optionKey is down and the ShiftKey is down then
global theButton
put the short name of me into theButton
StartEditing
end if
end mouseUp
on mouseWithin
put the script of me into temp
get the number of lines in temp
put line 16 to it of temp into bg fld 1
end mouseWithin
on mouseLeave
put empty into bg fld 1
end mouseLeave
To use the List Utilities and the Sound Level Button you must hold down the mouse button on them till a pop up list is displayed and a item is selected in the list. On on all other Buttons you simply click .